using System;
#if LINUX
using DBus;
#else
using System.ServiceModel;
#endif
namespace repragator
{
#if LINUX
	[Interface("org.repragator.printer")]
#else	
	[ServiceContract]
#endif
	public interface IPrinter
	{
		bool Online 
		{
			[OperationContract]
			get; 
		}
		
		[OperationContract]
		void Move(string axis, double distance, int feedrate);
	}
}